Learn R Programming

reutils (version 0.1.0)

[.efetch: EFetch accessors

Description

Extract XML nodes from an efetch object.

Arguments

x
An efetch object containing XML data.
...
An XPath expression

Value

  • An XML node set.

Examples

Run this code
p <- efetch("195055", "protein", "gp", "xml")
p['//GBFeature[GBFeature_key="mat_peptide"]//GBQualifier_value']

Run the code above in your browser using DataLab